package com.core.common.gen;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IBaseService<T> extends IService<T> {


    IPage<T> selectPage(PageQuery<BaseQuery> pageQuery);

    IPage<T> selectPage(T t,PageQuery<BaseQuery> pageQuery);

    IPage<T> selectPage(T t,PageQuery<BaseQuery> pageQuery,boolean copyBean);

    public List<T> selectList(BaseQuery queryBean) ;

    List<T> selectList(T t,BaseQuery queryBean) ;

    List<T> selectList(T t, BaseQuery queryBean,boolean copyBean);

    boolean batchSaveAfterDel(List<T> list,BaseQuery queryBean);

    boolean removeByConditions(T t,BaseQuery queryBean);
}
